﻿using System.Web;
using Microsoft.Owin;

namespace Identity.Web.Core
{
    public class OwinContextHelper
    {
        public static HttpContextBase CurrentContextBase
        {
            get { return new HttpContextWrapper(HttpContext.Current); }
        }

        public static IOwinContext CurrentOwinContext
        {
            get { return CurrentContextBase.GetOwinContext(); }
        }
    }
}